export interface ColumnProps {
    id: number;
    title: string; //标题
    avatar: string; //头像
    description: string; //简介
  }
  export const testData: ColumnProps[] = [
    {
      id: 1,
      title: "test专栏",
      description: "有意思",
      avatar: "",
    },
    {
      id: 1,
      title: "test专栏",
      description: "有意思",
      avatar:
        "https://picx.zhimg.com/v2-8be90bf5c7f1a572d90dd49b9e6cd155_l.jpg?source=d16d100b",
    },
    {
      id: 1,
      title: "test专栏",
      description: "有意思",
      avatar:
        "https://picx.zhimg.com/v2-8be90bf5c7f1a572d90dd49b9e6cd155_l.jpg?source=d16d100b",
    },
    {
      id: 1,
      title: "test专栏",
      description: "有意思",
      avatar:
        "https://picx.zhimg.com/v2-8be90bf5c7f1a572d90dd49b9e6cd155_l.jpg?source=d16d100b",
    }
  ]
  export interface PostProps{
 //文章列表
    id: number
    title: string
    content: string
    image?: string
    createdAt: string
    columnId: number
  
  }
  export const testProps: PostProps[] = [
    {
        id:1,
        title:'这是我第一篇文章',
        content:'vdsgggggggsfgbgfnhgfgsfs',
        image:'https://pic1.zhimg.com/v2-8be90bf5c7f1a572d90dd49b9e6cd155_l.jpg?source=d16d100b',
        createdAt:'2023-4-12',
        columnId:1
    },
    {
        id:1,
        title:'这是我第二篇文章',
        content:'vdsgggggggsfgbgfnhgfgsfs',
        image:'https://pic1.zhimg.com/v2-8be90bf5c7f1a572d90dd49b9e6cd155_l.jpg?source=d16d100b',
        createdAt:'2023-4-12',
        columnId:1
    },   {
        id:1,
        title:'这是我第三篇文章',
        content:'vdsgggggggsfgbgfnhgfgsfs',
        image:'https://pic1.zhimg.com/v2-8be90bf5c7f1a572d90dd49b9e6cd155_l.jpg?source=d16d100b',
        createdAt:'2023-4-12',
        columnId:1
    },   {
        id:1,
        title:'这是我第四篇文章',
        content:'vdsgggggggsfgbgfnhgfgsfs',
        image:'https://pic1.zhimg.com/v2-8be90bf5c7f1a572d90dd49b9e6cd155_l.jpg?source=d16d100b',
        createdAt:'2023-4-12',
        columnId:1
    },
  ]
   